/*标绘*/
.plot-helper-control-point-div {
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  border-radius: 100%;
  background-color: #ffffff;
  opacity: 0.6;
  cursor: move;
}

.ol-plot-text-editor {
  position: relative;  
}
.ol-plot-text-editor textarea {
  resize: none;
}
.ol-plot-text-editor-close {
  position: absolute;
  top: -8px;
  right: -8px;
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid #585858;
  border-radius: 16px;
  box-sizing: border-box;
  background-color: #ffffff;
  &:before {
    position: absolute;
    bottom: 0px;
    left: 5px;
    content: '';
    width: 2px;
    height: 100%;
    background-color: #585858;
    display: inline-block;
    transform: rotate(-45deg);
  }
  &:after {
    position: absolute;
    bottom: 0px;
    left: 5px;
    content: '';
    width: 2px;
    height: 100%;
    background-color: #585858;
    display: inline-block;
    transform: rotate(45deg);
  }
  &:hover {
    cursor: pointer;
    border: 2px solid #1b9de8;
    &:before {
      background-color: #1b9de8;
    }
    &:after {
      background-color: #1b9de8;
    }
  }
}
.ol-plot-text-editor-resize {
  display: none;
  position: absolute;
  bottom: 4px;
  right: 0px;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  background: url("") 0px 0px no-repeat;
  background-size: 100%;
  &:hover {
    cursor: pointer;
    border-color: #1b9de8;
    background: url("") 0px 0px no-repeat;
    background-size: 100%;
  }
}
.ol-plot-text-editor:hover {
  .ol-plot-text-editor-close {
    display: inline-block;
  }
  .ol-plot-text-editor-resize {
    display: inline-block;
  }
}
